from selenium.webdriver.common.by import By

from autoService.core.chromeDriver import getDriver
driver=getDriver()

driver.get("http://www.baidu.com")
driver.find_element(By.CSS_SELECTOR,"#kw").send_keys("123456")

driver.quit()